import 'package:flutter/material.dart';
import 'package:flutter_repo/chapter06/unit02/unit02.dart';
import 'package:flutter_repo/chapter06/unit03/unit03.dart';
import 'package:flutter_repo/chapter06/unit04/unit04.dart';
import 'package:flutter_repo/chapter06/unit09/unit09.dart';
import 'package:flutter_repo/chapter06/unit10/unit10.dart';
import 'package:flutter_repo/widgets/cell.dart';

class Chapter06 extends StatelessWidget {
  const Chapter06({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Chapter06"),),
      body: Container(
        padding: const EdgeInsets.symmetric(vertical: 20),
        child: ListView(
          children: [
            const Cell(title: "unit02", routePage: Unit02(),),
            const Cell(title: "unit03", routePage: Unit03(),),
            const Cell(title: "unit04", routePage: Unit04(),),
            const Cell(title: "unit09", routePage: Unit09(),),
            Cell(title: "unit10", routePage: Unit10(),),
          ],
        ),
      ),
    );
  }
}